package com.hqs.rxjava;


import io.reactivex.Observable;
import okhttp3.ResponseBody;
import retrofit2.Call;
import retrofit2.adapter.rxjava2.Result;
import retrofit2.http.GET;

public interface GithubService {

    @GET("/s?wd=demo&oq=Retrofit")
    Call<ResponseBody> content();

    @GET("/s?wd=demo&oq=Retrofit")
    Observable<Result<String>> contentRxJava();


}